package org.example.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.system.api.model.SysUser;

import java.util.List;

/**
 * <p>
 * 系统用户 服务类
 * </p>
 *
 * @author LiJunYi
 * @since 2020-05-25
 */
public interface ISysUserService extends IService<SysUser> {


    /**
     * 获取通过用户名
     *
     * @param username 用户名
     * @return {@link SysUser}
     */
    SysUser getByUsername(String username);

    List<SysUser> getList();
}
